package com.example.mapper;

import com.example.dto.DemoDTO;
import com.example.entity.Demo;
import java.util.List;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

@Mapper
@CacheNamespace
public interface DemoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Demo record);

    int insertSelective(Demo record);

    Demo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Demo record);

    int updateByPrimaryKey(Demo record);

    DemoDTO selectByDemoId(String demoId);

    List<DemoDTO> findListByParams(DemoDTO demoDTO);
}